package com.woniuxy.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="挂号订单")
public class RegisteredOrder {
    @ApiModelProperty(value = "挂单id")
    private int id;
    @ApiModelProperty(value = "挂单单号")
    private String order_num;
    @ApiModelProperty(value = "提交时间")
    private Date submission_time;
    @ApiModelProperty(value = "用户姓名")
    private String name;
    @ApiModelProperty(value = "医生姓名")
    private String doctor;
    @ApiModelProperty(value = "科室")
    private String department;
    @ApiModelProperty(value = "挂号费")
    private BigDecimal registration_fee;
    @ApiModelProperty(value = "订单状态")
    private int order_status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private String start;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private String end;
    @ApiModelProperty(value = "优惠卷")
    private int coupon;
    @ApiModelProperty(value = "应付金额")
    private BigDecimal amount_payable;
    @ApiModelProperty(value = "支付方式")
    private String pay_method;
    @ApiModelProperty(value = "支付时间")
    private Date pay_time;
    @ApiModelProperty(value = "实际支付")
    private BigDecimal actual_pay;




}
